<!-- <script setup lang="ts">
// 类比 小程序中的 app.js

import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";

onLaunch(() => {
  console.log("App Launch");
});
onShow(() => {
  console.log("App Show");
});
onHide(() => {
  console.log("App Hide");
});
</script> -->

<script lang="ts">
export default {
  onLaunch() {
    console.log("App Launch");
  },

  onShow() {
    console.log("App onShow");
  },

  onHide() {
    console.log("App onHide");
  },
};
</script>

<style></style>
